<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@ page import="javax.portlet.*"%>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>

<portlet:defineObjects />
<%PortletPreferences prefs = renderRequest.getPreferences();%>

<form method="post" action="<portlet:renderURL/>">
    Select a simulation type:
    <select name="workflow">
        <option value="Traffic">Traffic</option>
        <option value="Population">Population</option>
        <option value="Pollution" selected="selected">Pollution</option>
        <option value="Flooding">Flooding</option>
    </select>

    <BR><BR>
    <INPUT type="submit" name="SUBMIT" value="Go">

    <br/>
    <jsp:useBean id="inter" class="portal.Input" />

    The current time at the server is:
    <ul>
      <li><input type=" <%= inter.getType() %>" />
      <li>Month: <jsp:getProperty name="inter" property="description" />
      <li>Year: <jsp:getProperty name="inter" property="example" />
    </ul>
</form>